43f3690504f43fe1196c356fe7684f107142ab5f,WordPress/src/main/java/org/wordpress/android/ui/posts/services/PostUploadService.java,UploadPostTask,doInBackground,#Post#,211

Before Change


                    contentStruct.put("wp_post_thumbnail", featuredImageID);
                }
            } else if (mPost.featuredImageHasChanged()) {
                if (mPost.getFeaturedImageId() < 1 && !mPost.isLocalDraft()) {
                    // The featured image was removed from a live post
                    contentStruct.put("wp_post_thumbnail", "");
                } else {

After Change


                    contentStruct.put("wp_post_thumbnail", featuredImageID);
                }
            } else {
                if (mPost.isLocalDraft()) {
                    // publishing a new post.
                    if (mPost.getFeaturedImageId() > 1) {
                        contentStruct.put("wp_post_thumbnail", mPost.getFeaturedImageId());
                    }
                } else if (mPost.featuredImageHasChanged()) {
                    // Live post